import fs from "node:fs";
import parser from "@babel/parser";

function createAssets(filePath: string) {
  const code = fs.readFileSync(filePath, "utf8");

  const result = parser.parse(code);

  console.log(result);
}

createAssets("./a.js");
